<?php echo $this->render('facebook_connect.phtml') ?>
<br style="clear: both" />
<br style="clear: both" />


<div style="float: right">
<iframe src="<?= $this->escape('http://www.facebook.com/plugins/likebox.php?id=120145904715702&width=300&connections=10&stream=true&header=true&height=587') ?>" scrolling="no" frameborder="0" style="float: right; border:none; overflow:hidden; width:300px; height:700px;" allowTransparency="true"></iframe>
</div>


<div style="width: 400px">

    <a href="http://www.last.fm/api/auth?api_key=<?= $this->api_key ?>&amp;cb=<?= $this->cb ?>"><img src="http://cdn.last.fm/flatness/badges/lastfm_red.gif" alt="last.fm Login" style="float: left; padding-right: 5px;" />Login!</a>
    <strong>
        Play your loved tracks instantly!
    </strong>
    <br />

    
    Don't have your last.fm account yet? Register at <a href="http://last.fm/">last.fm</a>



<p class='login_par'>
    <?php echo $this->translate("Login without registration") ?>
</p>

<div class='login'>
<?php echo $this->fm_form ?>
</div>


<?php
$session = new Zend_Session_Namespace('reg');
if ($session->reg) {
    echo "<p>".$session->reg."</p>";
    $session->unsetAll();
}  ?>

    <?php if (false): ?>

<p class='login_par'>
    <?php echo $this->translate("User login") ?>
</p>
<div class='login'>
<?php if (!empty($this->errors)): ?>
<strong class="error">
    <?php echo $this->translate("Login error") ?>
</strong>
<ul class="errors">
    <?php foreach ($this->errors as $error): ?>
    <li><?php echo $this->escape($error) ?></li>
    <?php endforeach ?>
</ul>

<?php endif ?>



<?php echo $this->login_form ?>

<a href="<?php echo $this->url(array("controller" => "user", "action" => "forgot")) ?>">
    <?php echo $this->translate("Forgotten password") ?>
</a>


    

</div>

<?php endif ?>



</div>